<table class="table table-bordered table-striped">
  <thead>
  <tr>
    <th>id</th>
    <th>分类</th>
    <th>简介</th>
    <th>发布时间</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
  <!--┗-->
  <tr ng-repeat="val in arr">
    <th scope="row" >{{val.data.id}}</th>
    <td><span ng-if="val.tree>1" style="display:inline-block;width:{{val.tree+val.tree*10}}px"></span> <span ng-if="val.tree>1">┗&nbsp;</span>{{val.data.name}}</td>
    <td style="width: 52%;height:30px">{{val.data.intro}}</td>
    <td>{{val.data.createtime}}</td>
    <td style="width: 160px;">
      <a ng-click="get(val.data.id)" class="label label-primary ">详情</a>&nbsp;&nbsp;
      <a href="#/Index/Category/edit/{{val.data.id}}" class="label label-primary ">编辑</a>
      <a  class="label label-primary" ng-click="del(val.data.id)">删除</a>&nbsp;&nbsp;
    </td>
  </tr>
  <tr></tr>
  </tbody>
</table>